export enum ENUM_AUTH_STATUS_CODE_ERROR {
  AUTH_GUARD_BASIC_TOKEN_NEEDED_ERROR = 5100,
  AUTH_GUARD_BASIC_TOKEN_INVALID_ERROR = 5101,
  AUTH_GUARD_JWT_ACCESS_TOKEN_ERROR = 5102,
  AUTH_GUARD_JWT_REFRESH_TOKEN_ERROR = 5103,
  AUTH_GUARD_INACTIVE_ERROR = 5104,
  AUTH_GUARD_ROLE_INACTIVE_ERROR = 5105,
  AUTH_GUARD_ADMIN_ERROR = 5106,
  AUTH_PASSWORD_NOT_MATCH_ERROR = 5108,
  AUTH_PASSWORD_NEW_MUST_DIFFERENCE_ERROR = 5109,
  AUTH_CAPTCHA_CODE_ERROR = 5110,

  AUTH_GUARD_API_KEY_NEEDED_ERROR = 5121,
  AUTH_GUARD_API_KEY_PREFIX_INVALID_ERROR = 5122,
  AUTH_GUARD_API_KEY_SCHEMA_INVALID_ERROR = 5123,
  AUTH_GUARD_API_KEY_TIMESTAMP_NOT_MATCH_WITH_REQUEST_ERROR = 5124,
  AUTH_GUARD_API_KEY_NOT_FOUND_ERROR = 5125,
  AUTH_GUARD_API_KEY_INACTIVE_ERROR = 5126,
  AUTH_GUARD_API_KEY_INVALID_ERROR = 5127,
}

export enum ENUM_AUTH_STATUS_CODE_SUCCESS {
  AUTH_LOGIN_SUCCESS = 1001,
}

export const AUTH_ADMIN_META_KEY = "AuthAdminMetaKey";

export enum LOGIN_TYPE {
  NAME = 'name',
  PHONE = 'phone'
}